package com.ly.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.entity.Team;
import com.ly.pojo.dto.TeamDTO;
import com.ly.pojo.vo.TeamVO;
import com.ly.utils.PageData;
import com.ly.utils.Result;

import java.util.List;
import java.util.Map;

/**
 * @author : 黑渊白花
 * @date : 2025/2/8 22:15
 */

public interface TeamService extends IService<Team> {
    IPage<TeamVO> getAllPage(TeamDTO teamDTO);
    IPage<TeamVO> getAuditPage(TeamDTO teamDTO);
    PageData getPageTr(TeamDTO teamDTO);
    Boolean delete(Team team);
    List<Map<String , Object>> getTeamAndEnterNum();
    List<Team> passList();
    Boolean deleteAll(Team team);
    TeamVO getByManager(String name);
    TeamVO getTeamById(Integer id);
    List<TeamVO> searchTByType(String typeName);
    List<TeamVO> getTeamsByStuId(Integer stuId);
    Result createTeam(TeamVO teamVO);
    Result auditTeam(Team team);


}
